﻿
namespace AbpVnext_Module.Repository
{
    public class BaseRepository<T> : IBaseRepository<T> where T : class
    {
        /// <summary>
        /// DB上下文
        /// </summary>
        private readonly ProductDbContext  _context;

        public BaseRepository()
        {

        }

        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="t"></param>
        /// <exception cref="NotImplementedException"></exception>
        public void AddEntity(T t)
        {
            throw new NotImplementedException();
        }/// <summary>
         /// 删除
         /// </summary>
         /// <param name="t"></param>
         /// <exception cref="NotImplementedException"></exception>
        public void DeleteEntity(T t)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 查询
        /// </summary>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public List<T> GetAll()
        {
            throw new NotImplementedException();
        }/// <summary>
         /// 修改
         /// </summary>
         /// <param name="t"></param>
         /// <exception cref="NotImplementedException"></exception>
        public void UpdateEntity(T t)
        {
            throw new NotImplementedException();
        }
    }
}
